package com.sharding.ex.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author : xuzhennan
 * @Project : sharding_ex
 * @Package : com.sharding.ex.model
 * @email : xuzhennan@58.com
 * @date : 2022年05月12日 下午3:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("product_order")
public class ProductOrderDto {
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  private String outTradeNo;

  private String state;

  private Date createTime;

  private Double payAmount;

  private String nickname;

  private Long userId;
}
